<!DOCTYPE html>
<html>
<link rel="stylesheet" type="text/css" href="layui/css/layui.css">
<script src="layui/layui.js" charset="utf-8"></script>

<head>
    <meta charset="utf-8">
    <title>Layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/layui-导航/layui/css/layui.css" media="all">
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->

    <body>
        <div id="nav">
            <ul class="layui-nav layui-bg-cyan" lay-filter="test" style="text-align: right;">
                <li class="layui-nav-item"><a href="">你好！请登录</a></li>
                <li class="layui-nav-item"><a href="">我的订单</a></li>
                <li class="layui-nav-item"><a href="">我的购物车</a></li>
                <li class="layui-nav-item"><a href="javascript:;">网站导航</a></li>
                <li class="layui-nav-item"><a href="javascript:;">sd</a>
                    <bl class="layui-nav-child">
                        <dd><a href="">移动模块</a></dd>
                        <dd><a href="">后台模版</a></dd>
                        <dd><a href="">电商平台</a></dd>
                    </bl>

                </li>
                <li class="layui-nav-item"><a href="">我的购物车</a></li>
            </ul>
        </div>

        <script>
            layui.use('element', function() {
                var element = layui.element(); //导航的hover效果、二级菜单等功能，需要依赖element模块
            });
        </script>



        <!-- <div class="layui-input-block" style=" width: 1000px;">
            <ul>
                <li style="float: left;"><input style="border-color: crimson; border-width: 2px; width: 600px; margin-left: 40%;" type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请在此搜索商品" class="layui-input"></li>
                <li style="text-align: right;margin-right: 90px; "><button type="button" class="layui-btn">搜索</button></li>
            </ul>   
        </div> -->

        <div class="layui-container" style="margin-top: 1%; background-color: aqua; width: 100%;; margin-left: 0;">
            <div style="float: left;margin-left: 5%;">
                <img src="/layui-导航/imgs/QQ浏览器截图20210406110547.png" />
            </div>
            <div class="layui-row" style="width: 60%; margin-left: 1%; float: left;">
                <div class="layui-col-md9">
                    <li class="layui-nav-item"><input style="border-color: crimson; border-width: 2px;" type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请在此搜索商品" class="layui-input"></li>
                </div>
                <div class="layui-col-md1">
                    <li class="layui-nav-item"><a href=""><button type="button" class="layui-btn">搜索</a></button>
                    </li>
                </div>
                <div class="layui-col-md2">
                    <li class="layui-nav-item"><a href=""><button style="background-color: red;" type="button"class="layui-btn">我的购物车</button></a></li>
                </div>
            </div>



    </body>
</head>